/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Util;

/**
 *
 * @author KieuOanh
 */
public class Evaluatable {
    public static double evaluate(double x, int M){
        return Math.sin(x*M/2)/Math.sin(x/2);
    }
}
